package com.english.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * 课时实体类
 * 
 * @author wlq
 * @since 2025-08-04
 */
@Data
@TableName("lesson")
public class Lesson implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 学生ID
     */
    private Long studentId;

    /**
     * 班级ID
     */
    private Long classId;

    /**
     * 总课时数
     */
    private Integer totalHours;

    /**
     * 已使用课时数
     */
    private Integer usedHours;

    /**
     * 剩余课时数
     */
    private Integer remainingHours;
}
